@red: #ff3044;
@blue: #32a8ff;
@lightblue: #ebf9ff;
@green: #75bf26;
@orange: #f5b400;
@grey: #c5c5c5;
@border-color: #eaeaea;

.wea-range-star {
  font-size: 12px;
  font-family: "Microsoft YaHei", sans-serif;
  .wea-rs-item {
    display: inline-block;
    height: 27px;
    line-height: 27px;
    vertical-align: middle;
  }
  .wea-rs-title {
    width: 80px;
  }
  .wea-rs-value {
    margin-left: 8px;
    width: 25px;
    font-size: 14px;
    color: #f5a623;
  }
  .ant-rate {
    font-size: 14px;
    .ant-rate-star {
      margin-right: 6px;
    }
  }
}

.wea-basic-info-card {
  font-size: 12px;
  font-family: "Microsoft YaHei", sans-serif;
  width: 50%;
  display: inline-block;
  text-align: center;
  padding: 3px;
  cursor: pointer;
  .wea-bic-item {
    display: inline-block;
    width: 100%;
  }
  .wea-bic-name {
    font-size: 12px;
  }
  .wea-bic-value {
    font-size: 20px;
  }
  &:hover {
    background-color: #ebf9ff;
  }
  
  @media screen  {
    @media (min-height: 870px) {
      padding: 8px;
    }
  }
}

.wea-basic-info-card-active {
  background-color: #ebf9ff;
}

.wea-tool-tip-bar {
  font-size: 12px;
  font-family: "Microsoft YaHei", sans-serif;
  color: #484848;
  width: 100%;
  height: 40px;
  line-height: 40px;
  border-bottom: 1px solid @border-color;
  cursor: pointer;
  &:hover {
    background-color: #ebf9ff;
  }
  .wea-ttb-item {
    display: block;
    height: 40px;
    line-height: 40px;
  }
  .wea-ttb-icon {
    width: 14px;
    float: left;
    margin: 0 16px;
    font-size: 16px;
  }
  .wea-ttb-name {
    float: left;
  }
  .wea-ttb-tip {
    float: right;
    margin-right: 16px;
    :first-child {
      display: inline-block;
      width: 42px;
      height: 24px;
      background-color: red;
      border-radius: 16px;
      line-height: 24px;
      text-align: center;
      color: white;
    }
  }
  
  @media screen  {
    @media (min-height: 870px) {
      height: 50px;
      line-height: 50px;
      .wea-ttb-item {
        display: block;
        height: 50px;
        line-height: 50px;
      }
    }
  }
}

.wea-customer-list {
  
  .wea-customer-content {
    padding: 0;
    overflow: hidden;
    .wea-customer-item {
      margin-bottom: 10px;
      display: inline-block;
      padding: 0 10px;
      .wea-ci-desc {
        display: block;
        height: auto;
        
        .wea-cid-item {
          margin-left: 12px;
          display: none;
        }
        .wea-cid-name {
          height: 25px;
          line-height: 25px;
          font-size: 12px;
          color: #484848;
          cursor: pointer;
          text-align: left;
          &:hover {
            color: @blue;
          }
        }
        .wea-cid-date {
          height: 15px;
          line-height: 15px;
          font-size: 12px;
          color: #919191;
        }
        
        .wea-cid-smallDate{
          display:block;
          text-align: center;
          color: #919191;
        }
      }
    }
  }
  
  @media screen  {
    @media (min-height: 870px) {
      .wea-customer-content {
        padding: 0 16px;
        .wea-customer-item {
          display: block;
          padding: 0;
          .wea-ci-desc {
            display: inline-block;
            height: 40px;
            vertical-align: middle;
            .wea-cid-item{
              display: block;
            }
            .wea-cid-smallDate{
              display:none;
            }
          }
        }
      }
    }
  }
  .wea-customer-switch {
    display: inline-block;
    position: absolute;
    top: -50px;
    right: 0px;
    .wea-cs-item {
      display: inline-block;
      cursor: pointer;
      margin: 0 16px;
      color: #999
    }
    .wea-cs-disabled {
      cursor: default;
      color: #ccc
    }
  }
}

.wea-customer-none {
  text-align: center;
}

.wea-message-item {
  font-family: "Microsoft YaHei", sans-serif;
  height: 45px;
  line-height: 45px;
  &:hover {
    background-color: @lightblue;
  }
  .wea-mi-container {
    padding: 0 16px;
    .wea-mic-item {
      display: inline-block;
      vertical-align: middle;
      height: 45px;
      line-height: 45px;
      overflow: hidden;
    }
    .wea-mic-content {
      width: 75%;
      cursor: pointer;
      .wea-micc-item {
        display: inline-block;
        vertical-align: middle;
        height: 45px;
        line-height: 45px;
        cursor: pointer;
      }
      .wea-micc-name {
        font-size: 14px;
        padding-right: 8px;
        max-width: 20%;
      }
      .wea-micc-tip {
        font-size: 12px;
        max-width: 80%;
        .wea-ckeditor-content{
          height: 45px;
          line-height: 45px;
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;
        }
      }
    }
    .wea-mic-icon {
      width: 5%;
      font-size: 18px;
      padding: 0 16px 0 4px;
    }
    .wea-mic-operation {
      width: 20%;
      text-align: right;
      font-size: 14px;
      cursor: pointer;
      .wea-mico-item {
        margin: 0 8px;
        color: #000000;
        &:hover {
          color: @blue;
        }
      }
    }
    a {
      color: #000000;
    }
  }
  .wea-mi-border {
    margin: 0 16px;
    border: none;
    border-top: 1px solid @border-color;
  }
}